package com.ethan.springcloud.helloservice.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author daifei
 * @date 2019/3/21
 */
//@FeignClient("HELLOSERVICE")
public interface HelloService {

    @GetMapping("hello")
    String hello(@RequestParam String name);

    @PostMapping("hello3")
    String hello(@RequestBody User user);

}
